package com.zlkj.ssm.shop.front.service.impl;import org.springframework.stereotype.Service;import org.springframework.transaction.annotation.Transactional;import com.zlkj.ssm.shop.core.ServersManager;import com.zlkj.ssm.shop.front.dao.AddressDao;import com.zlkj.ssm.shop.front.entity.Address;import com.zlkj.ssm.shop.front.service.AddressService;import javax.annotation.Resource;@Transactional@Servicepublic class AddressServiceImpl extends ServersManager<Address, AddressDao> implements		AddressService {    @Resource    @Override    public void setDao(AddressDao addressDao) {        this.dao = addressDao;    }    @Override	public void setAddressDefault(Address address) {		dao.initAllAddress(address);        dao.update(address);//设置指定的地址为默认地址	}}